package edu.scau.mis.pos.entity;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (PosOrder)实体类
 *
 * @author makejava
 * @since 2021-11-04 22:17:13
 */
public class PosOrder implements Serializable {
    private static final long serialVersionUID = 126107853025233567L;
    /**
     * 订单ID
     */
    private Integer orderId;
    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 销售时间
     */
    private Date saleDatetime;
    /**
     * 总金额
     */
    private String totalamount;
    /**
     * 总件数
     */
    private String totalquantity;


    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Date getSaleDatetime() {
        return saleDatetime;
    }

    public void setSaleDatetime(Date saleDatetime) {
        this.saleDatetime = saleDatetime;
    }

    public String getTotalamount() {
        return totalamount;
    }

    public void setTotalamount(String totalamount) {
        this.totalamount = totalamount;
    }

    public String getTotalquantity() {
        return totalquantity;
    }

    public void setTotalquantity(String totalquantity) {
        this.totalquantity = totalquantity;
    }

    public List<PosItem> getItemList() {
        return itemList;
    }

    public void setItemList(List<PosItem> itemList) {
        this.itemList = itemList;
    }

    /**
     * 顾客购买的商品集合
     */
    private List<PosItem> itemList;

//    public PosOrderItem getOrderItem() {
//        return OrderItem;
//    }
//
//    public void setOrderItem(PosOrderItem orderItem) {
//        OrderItem = orderItem;
//    }
//
//    private PosOrderItem OrderItem;


}

